export function checkPermission() {
    const roles = JSON.parse(localStorage.getItem('loginData')).result.user_info.role_id
    console.log(roles)
    if (roles !== 6) {
        this.$message.error('小果果友情提示：你无权操作！')
        return false
    }
    return true

}